﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Xejen.Communication
{
    /// <summary>
    /// 表示心跳检测器
    /// </summary>
    /// <creator>marc</creator>
    public interface IHeartbeatChecker
    {
        /// <summary>
        /// 远端心跳判断
        /// </summary>
        Func<bool> RemoteHeartbeatCheck { get; }
        /// <summary>
        /// 本地心跳判断
        /// </summary>
        Func<bool> LocalHeartbeatCheck { get; }
    }
}
